﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="Database.aspx.cs" Inherits="WEB.SQL.Backup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    数据库管理
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table align="center" class="distance">
        <tr>
            <td align="right">
                服务器备份路径：
            </td>
            <td>
                <asp:TextBox ID="Path" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                <asp:Button ID="btnBackup" runat="server" OnClick="Backup_Click" OnClientClick="return confirm('确认要备份数据库？')" Text="备份" CssClass="Submit_yellowbig" />
            </td>
        </tr>
        <tr>
            <td align="right">
                数据库还原文件：
            </td>
            <td>
                <asp:FileUpload ID="RestorePath" runat="server" />
            </td>
            <td>
                <asp:Button ID="btnRestore" runat="server" OnClick="Restore_Click" OnClientClick="return confirm('确认恢复数据库？ ') " Text="还原" CssClass="Submit_yellowbig" />
            </td>
        </tr>
        <tr><td colspan="2">
            &nbsp;</td><td></td></tr>
    </table>
</asp:Content>
